package com.greenold.check.domain.Dto;

import com.greenold.check.domain.Checkin;


public class CheckinDto extends Checkin {
    private String elderName;
    private String elderIdCard;
    private String bedNo;

    public String getElderName() {
        return elderName;
    }

    public void setElderName(String elderName) {
        this.elderName = elderName;
    }

    public String getElderIdCard() {
        return elderIdCard;
    }

    public void setElderIdCard(String elderIdCard) {
        this.elderIdCard = elderIdCard;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public CheckinDto(String elderName, String elderIdCard, String bedNo ) {
        this.elderName = elderName;
        this.elderIdCard = elderIdCard;
        this.bedNo = bedNo;
    }


    @Override
    public  String toString() {
        return super.toString()+"CheckinDto{" +this.elderName+","+this.elderIdCard+","+this.bedNo+"}";
    }
}
